package com.qujia.station.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Auther: LogicQin
 * @Date: 2023/10/18 11:34
 * @Description:
 */
@Data
@ApiModel(description = "用户提现列表返回值")
public class QueryTransMerByOrgResponse implements Serializable {
    private static final long serialVersionUID = 1;

    @ApiModelProperty(value = "账单号")
    private String id;

    @ApiModelProperty(value = "申请信息id")
    private String applyId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "发起时间")
    private LocalDateTime crtTime;

    @ApiModelProperty(value = "账户号")
    private String merAccNo;

    @ApiModelProperty(value = "账户名")
    private String merAccName;

    @ApiModelProperty(value = "付款账户号")
    private String outMerAccNo;

    @ApiModelProperty(value = "付款账户名")
    private String outMerAccName;

    @ApiModelProperty(value = "收款账户号 提现不使用这字段")
    private String inMerAccNo;

    @ApiModelProperty(value = "收款账户名 提现不使用这字段")
    private String inMerAccName;

    @ApiModelProperty(value = "银行卡号 提现作为收款账户")
    private String bankCardNo;

    @ApiModelProperty(value = "交易金额 有正负")
    private BigDecimal txnAmt;

    @ApiModelProperty(value = "服务费")
    private BigDecimal serviceFee;

    @ApiModelProperty(value = "期初金额")
    private BigDecimal beginTxnAmt;

    @ApiModelProperty(value = "期末金额")
    private BigDecimal afterTxnAmt;

    @ApiModelProperty(value = "业务类型 cash提现 changeOut 划出 changeIn划入 entry 清分")
    private String txnType;

    @ApiModelProperty(value = "状态 0待处理（可撤销，前端显示[处理中]） 1处理中 2处理成功 3拒绝 4失败 5已撤销")
    private Integer status;

    @ApiModelProperty(value = "失败/拒绝原因")
    private String msg;

    @ApiModelProperty(value = "失败/拒绝原因")
    private String memo;

    @ApiModelProperty(value = "操作员")
    private String updName;
}
